package cn.kent.factoryMethodPattern;

/**
 * @author kent
 * @date 2021/5/8 14:47
 */
public class YellowHuman implements Human{
    @Override
    public void laugh() {
        System.out.println("黄种人大笑");
    }

    @Override
    public void cry() {
        System.out.println("黄种人大哭");
    }

    @Override
    public void talk() {
        System.out.println("黄种人说话，一般说的都是双字节的！");
    }
}
